package uclick.messenger.client.dto;

import java.io.Serializable;
import java.util.Arrays;

public class FilePacket implements Serializable{
	
	private byte[] buffer;
	private int read;
	private int status;
	public FilePacket(){}
	
	public FilePacket(byte[] buffer, int read, int status) {
		super();
		this.buffer = buffer;
		this.read = read;
		this.status = status;
	}
	public byte[] getBuffer() {
		return buffer;
	}
	public void setBuffer(byte[] buffer) {
		this.buffer = buffer;
	}
	public int getRead() {
		return read;
	}
	public void setRead(int read) {
		this.read = read;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "FilePacket [buffer=" + Arrays.toString(buffer) + ", read="
				+ read + ", status=" + status + "]";
	}
	
	

}
